package sufutian.com.frameworkdemo;

import android.app.Activity;
import android.os.Bundle;


import sufutian.com.frameworkdemo.network.LoadVideoResult;
import sufutian.com.frameworkdemo.network.LoadCallBack;
import sufutian.com.frameworkdemo.network.VideoBuiness;

public class MainActivity extends Activity {

    String url="http://testtl.audiocn.org/tian/room/userData.action?request=gBXILZgb87DrFvsuhC9Ul2oVbTUr8lDcffTJFCwqo8hdr60xexP0wCg3qmAukRgDZdXeGYVc%2BQsMUW8sGoICGwk4LfMkwIRDt7Ei0GttYrVOK4q%2Fj8dKvBBxpDlYTk7gcwmNnxf5sCoCB3dIMmVSG2C4buyQkr55KLiFr8W1WCqmdCJeI21Fa8g1e9DvR42083SxdURlJQBnGCkimnIBElKlWIIi3VU7DLdqFPZETjFb%2BYSGrmQR2wIJlg5nHMjeB7xOCJ4znPipBq0CLe1wNP%2BuGSSgPo4CbI%2BM6DmI8nnrHIWAPX9hS8e4kaST5%2FQqc0siMLYvYAQb8KMoG%2F4Gm%2FIhZbeSRM4xKgrr%2FAS3al%2F%2FrhkkoD6OAo7O894GMYNWzURH0yLPsJrCoNgoHAgCq%2Bs0oLy5HvT%2Byt9eeP1NiqjTASj5nMAWBqdigiWPMcBzuKSl6%2FniXerPQfmGBJK8JjgisXdFh7NL6i%2BaE0JA86m4Y8nf7Q8XnpdQs%2Fx2Ytt6XiZtwMQJQXo239WugSwqmj89aWgqLeSuKt75A90lEDnPk0pmjKJvlx7pv4C5mb1ngSj1XC3A920twOhunPqR%2F8ByuuZGTbdW6zda7G5Ti1wNCX%2F9HnBIB1t8DTxnsxkaCbXV1emNpZpHNH25CbA9R0VoZWIKwNoECcmhVEROKkAJyaFURE4qQJdDr0ng64L1aH7ArZG17ZekRhP1JR%2FZ7%2BhyMZmuD2UfKRkMINg%2BUtRt68%2BF8RBjrCpwTIyN5XpXuj7bf0f%2FO3IX3Pp4eXHLn5OMUhTEPP1cqPHHupZM3RzXNetZwTMRBNcSEcnaJ68ECbTeo7z24Yc5Od6GoWwbTknimd1EpTJq1sr2QU2thcsI6dxPfLK53ge8TgieM5z4PVJs%2BNJt7ou1KGCCR1YKrjDoVtLnt4ng7fgATcaqHxIcBR1mhKh9PbKA8VVrZCTC4CNehdt6vpSrD%2FmgD3eZwVtu37pg8as1aznKPEk7uxVqFW01K%2FJQ3K8MVDeVyTBrf3b%2BRNW6QY04GpNSCXcvdtLnBGoaOwSZ9Xkhi8mnOi5icVo8%2Br0Qcrb5dnsYaGQFgz3ojcigdlC7tqnhItQu8nyTx9GUMZtmLu6c6C6ayEhsvsti48NhLog0TGKu%2Bk2KjhPfmIpA%2BCg%3D&sign=10dff84caca3ac82ea0209e390ef374c&type=9b9123a29c45";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        VideoBuiness.getInstance().getVideoList(url, new LoadCallBack<LoadVideoResult>() {
            @Override
            public void onLoading() {

            }

            @Override
            public void onLoadFial(String errorMsg) {

            }

            @Override
            public void onLoadSucess(LoadVideoResult result) {

            }
        }, "get");

    }
}
